import { IFeidaoAiNodejsComponent } from "@dfeidao/atom-nodejs/interfaces";
import render from "@dfeidao/atom-nodejs/render/render";
import p001 from './p001';

export default async function na001(fd: IFeidaoAiNodejsComponent) {
	const data = [{
		channel_number: 'qw123',
		channel_name: '安居客',
		rule_name: '风控规则',
		create_time: '2019-02-05 5:21',
		update_time: '2019-02-05 5:21',
		_id: 3
	},
	{
		channel_number: 'qw123',
		channel_name: '安居客',
		rule_name: '风控规则',
		create_time: '2019-02-05 5:21',
		update_time: '2019-02-05 5:21',
		_id: 3
	},
	{
		channel_number: 'qw123',
		channel_name: '安居客',
		rule_name: '风控规则',
		create_time: '2019-02-05 5:21',
		update_time: '2019-02-05 5:21',
		_id: 3
	}];
	render(fd.data.node, data, p001, 'p001');
}
